﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Product
{
    public class ProductClassNav
    {
        
        #region "member variant"
        private int nid;
        private string cid;
        private int sort;
        private string name;
        #endregion

        #region "Constructor"
        /// <summary>
        /// 构造一个空的新的数据访问对象
        /// </summary>
        /// <remarks></remarks>
        public ProductClassNav()
        {
        }
        #endregion

        #region "Property"
        /// <summary>
        /// 与数据库基本列NID相对应的公共属性, Caption:NID
        /// </summary>
        /// <remarks></remarks>
        public int NID
        {
            get { return nid; }
            set { nid = value; }
        }
        /// <summary>
        /// 与数据库基本列CID相对应的公共属性, Caption:商品分类ID
        /// </summary>
        public string CID
        {
            get { return cid; }
            set { cid = value; }
        }
        
        /// <summary>
        /// 与数据库基本列sort相对应的公共属性, Caption:排序
        /// </summary>
        public int Sort
        {
            get { return sort; }
            set { sort = value; }
        }
        /// <summary>
        /// 与数据库基本列name相对应的公共属性, Caption:品牌名称
        /// </summary>
        /// <remarks></remarks>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        #endregion
    }
}
